fs/iso9660: Set a grub_errno if mount fails
authorB Horn <b@horn.uk>
Sun, 12 May 2024 05:37:08 +0000 (06:37 +0100)
committerMiao Wang <shankerwangmiao@gmail.com>
Sun, 15 Feb 2026 13:50:20 +0000 (13:50 +0000)
commit5915107401ba26b1e4c0a48fd635b06781cea7e2
tree1e618594f3256c7073a1dad92cd75ac39ccf0dd4
parent11d7e4922b0a348cd87ce96cb3fa75e770905dc0
fs/iso9660: Set a grub_errno if mount fails

It was possible for a grub_errno to not be set if mount of an ISO 9660
filesystem failed when set_rockridge() returned 0.

This isn't known to be exploitable as the other filesystems due to
filesystem helper checking the requested file type. Though fixing
as a precaution.

Reported-by: B Horn <b@horn.uk>
Signed-off-by: B Horn <b@horn.uk>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
Gbp-Pq: Topic cve-2025-jan
Gbp-Pq: Name fs-iso9660-Set-a-grub_errno-if-mount-fails.patch
grub-core/fs/iso9660.c